function handleData(dataList) {
    debugger
    let self = this;
    let pageListEle = this.$$element("page_widget_list_2t44ws");
    tabData(self, pageListEle);
    console.log("表格数据变化回调", dataList)
    
    //将列表当前页数据赋予list
    list = dataList.map(row => {
        return {
            id: row.id.value,
            y: row.coordinate_y.value,
            x: row.coordinate_x.value,
            "案件编号": row.rec_task_num.value,
            "处罚名称": row.rec_name.value
        }
    });
    // 获取列表组件

    // 获取地图组件的model
    let mapData = this.$$model("map_base_5e71zk");
    // 设置图层数据
    mapData.members[0].props.defaultValue.value = list;
    // 设置中心点
    if (list.length) {
        mapData.props.mapConfig.coordX = list[0].x;
        mapData.props.mapConfig.coordY = list[0].y;
    }
}

function tabData(self, pageListEle) {
    
    let paging = pageListEle.$$getRenderElement().$$getListElement().$$getRenderElement().$$getListElement().paging;
    //console.log("paging", paging);
    setTimeout(function () {
        //console.log("total", paging.total);

        //console.log("计数", self.$$("table_4okw6w").paging);
        api.PUBLISH_COUNTING_EVENT(
            self,
            {
                type: "tabs",
                counting: {
                    "经办": paging.total
                }
            }
        );
    }, 500);
    // appMenu：是指导航配置的导航方式
    // tabs：是指页面管理里的标签页方式
}